InputDeviceCompat

Helper class for accessing values in android.view.InputDevice.

Properties

Link copied to clipboard
val SOURCE_ANY: Int = -256
A special input source constant that is used when filtering input devices to match devices that provide any type of input source.
Link copied to clipboard
The input source has buttons or keys.
Link copied to clipboard
The input source is a joystick.
Link copied to clipboard
A mask for input source classes.
Link copied to clipboard
The input source has no class.
Link copied to clipboard
The input source is a pointing device associated with a display.
Link copied to clipboard
The input source is an absolute positioning device not associated with a display (unlike SOURCE_CLASS_POINTER).
Link copied to clipboard
The input source is a trackball navigation device.
Link copied to clipboard
val SOURCE_DPAD: Int = 513
The input source is a DPad.
Link copied to clipboard
val SOURCE_GAMEPAD: Int = 1025
The input source is a game pad.
Link copied to clipboard
val SOURCE_HDMI: Int = 33554433
The input source is a device connected through HDMI-based bus.
Link copied to clipboard
val SOURCE_JOYSTICK: Int = 16777232
The input source is a joystick.
Link copied to clipboard
val SOURCE_KEYBOARD: Int = 257
The input source is a keyboard.
Link copied to clipboard
val SOURCE_MOUSE: Int = 8194
The input source is a mouse pointing device.
Link copied to clipboard
val SOURCE_ROTARY_ENCODER: Int = 4194304
The input source is a rotating encoder device whose motions should be interpreted as akin to those of a scroll wheel.
Link copied to clipboard
val SOURCE_STYLUS: Int = 16386
The input source is a stylus pointing device.
Link copied to clipboard
The input source is a touch device whose motions should be interpreted as navigation events.
Link copied to clipboard
val SOURCE_TOUCHPAD: Int = 1048584
The input source is a touch pad or digitizer tablet that is not associated with a display (unlike SOURCE_TOUCHSCREEN).
Link copied to clipboard
The input source is a touch screen pointing device.
Link copied to clipboard
val SOURCE_TRACKBALL: Int = 65540
The input source is a trackball.
Link copied to clipboard
The input source is unknown.